package lormi.meipin.entity;

import java.util.Date;


public class Complain {
	
    private Integer id;

    private Integer userid;

    private Integer complainid;

    private Integer type;

    private String content;

    private Date createtime;
    
    public Complain() {
		super();
	}

	public Complain(Integer userid, Integer complainid, Integer type, String content) {
		super();
		this.userid = userid;
		this.complainid = complainid;
		this.type = type;
		this.content = content;
		this.createtime = new Date();
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getComplainid() {
        return complainid;
    }

    public void setComplainid(Integer complainid) {
        this.complainid = complainid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}